/*
 * Copyright (C) RT, 2017 by kiterunner_t
 * TO THE HAPPY FEW
 */

package com.example.timyag;


import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;


@Slf4j
@Component
public class ServiceStarter implements CommandLineRunner {

    /* 内部服务初始化 */
//    @Autowired private ProcessService processService;

    /* 启动， 可选 读取record_id
     * 检查哪些需要启动定时器，进行周期性的通知HMI进行文档阅读
     * */

    @Override
    public void run(String... args) {
        try {
            log.info("启动成功");
        } catch (Exception ex) {
            log.error("启动失败", ex);
            System.exit(1);
        }
    }

}

